home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 2003 June / macformat-130.iso / mac / Reviewed⁄Demos / Spearhead Demo / demota / pak1.pk3 / anim / run.scr < prev    next >
Encoding:
Text File  |  2002-10-21  |  533 b   |  30 lines

  1. //-----
  2. // Run
  3. //-----
  4. // Basic run used by level designers.
  5.  
  6. //println "run.scr"
  7.  
  8. //=================================================
  9. //=================================================
  10. start:
  11.     waitexec anim/default_inithandler.scr
  12.     waitexec anim/smoking.scr::SmokeRemoveCigarette
  13.     self weaponcommand mainhand attachtohand mainhand
  14.  
  15.     switch (self.mood)
  16.     {
  17.         attack:
  18.         curious:
  19.             waitexec anim/runto_inopen.scr
  20.             break
  21.         nervous:
  22.         bored:
  23.         default:
  24.             waitexec anim/runto_casual.scr
  25.             break
  26.     }
  27.  
  28. end
  29.  
  30.